@csrf
<div class="layui-form-item">
    <label for="name" class="layui-form-label">名称</label>
    <div class="layui-input-block">
        <input type="text" class="layui-input" name="name" value="{{$category->name??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="description" class="layui-form-label">描述</label>
    <div class="layui-input-block">
        <input type="text" class="layui-input" name="description" value="{{$category->description??''}}">
    </div>
</div>
